#ifndef SCHEDULER_H
#define SCHEDULER_H
#include <stdint.h>
#include <stddef.h>

class Scheduler
{
public:
    virtual ~Scheduler()=default;
    virtual void schedule() = 0;
    virtual void update() = 0;
    virtual void dispatch(uint8_t* data,size_t size) = 0;
    virtual void cleanup() = 0;
    void (*callback_handler)();
};
#endif